import request from '@/utils/request'
/*
 * 首页接口
 * 
 */
export function getIndexData() {
  return request({
    url: '/index/data',
    method: 'post',
    
  })
}

/*
 * 搜索
 * content
 */
export function search(content) {
  return request({
    url: '/index/search',
    method: 'post',
    data:{
    	content
    }
    
  })
}